//闰年的判断
#include<stdio.h>
int main(){
    int year =0;
    scanf("%d",&year);
    if(year%4 ==0 && year%100!=0){
        printf("是闰年");
    }
    else{
        if(year%400 == 0){
            printf("是闰年");
        }
       else{
        printf("非闰年");
        } 
    }
return 0;
}